import shouye from '../views/首页/首页'
import login from '../views/登陆/index'
import jcym from '../views/集成页面/index'
import lunbotu from '../views/轮播图/index'
import anniu from '../views/按钮/index'
import buju from '../views/布局/index'
import leibiaodan from '../views/类表单/index'
import hsbd from '../views/函数表单/index'

// 第一级页面 在app中显示
const oneLevel = [{
  path: '/shouye',
  component: shouye,
  exact: false,
  title: '首页'
},{
  path: '/login',
  component: login,
  exact: true,
  title: '登陆'
}]

// 第二级页面 在首页中显示
const twoLevel = [
  {
    path: '/shouye/jcym',
    component: jcym,
    exact: true,
    title: '集成页面'
  },
  {
    path: '/shouye/lunbotu',
    component: lunbotu,
    exact: true,
    title: '轮播图'
  },{
    path: '/shouye/anniu',
    component: anniu,
    exact: true,
    title: '按钮'
  },{
    path: '/shouye/buju',
    component: buju,
    exact: true,
    title: '布局'
  },{
    path: '/shouye/leibiaodan',
    component: leibiaodan,
    exact: true,
    title: '类表单'
  },{
    path: '/shouye/hsbd',
    component: hsbd,
    exact: true,
    title: '函数表单'
  }
]

export {
  oneLevel,
  twoLevel
}